/**
 * Copyright (c) 2012 Nokia Corporation.
 */

package com.nokia.example.productcatalog;

import com.nokia.mid.payment.IAPClientPaymentListener;

/**
 * Container for product data.
 */
public class ProductData {
    public String productId;
    public String title;
    public String shortDescription;
    public String longDescription;
    public String price;
    
    public int drmProtection;
    public int errorState = IAPClientPaymentListener.OK;
    
    // Note that we cannot determine whether the product is unlocked or not
    // based on the ticket being empty. The ticket can be empty on emulator
    // after successful purchase.
    public String ticket;
    
    public boolean isUnlocked;
    public int listIndex;
}
